package com.tifa.vote.dao;/**
 * @Classname VoteDao
 * @Description
 * @Date 2022/6/15 15:16
 * @Created by Ahyer
 */

import com.tifa.vote.bean.Vote;
import java.util.List;

/**
 * @Classname VoteDao
 * @Description
 * @Date 2022/6/15 15:16
 * @Created by hengyuan
 */
public interface VoteDao {

  public List<Vote> getVotes();

  Vote getVoteById(Integer id);

  void deleteVoteById(Integer id);

  void addVote(Vote vote);

}
